
<template>
    <h1>list</h1>
</template>

<script>
export default {
  data() {
    return {
      table: this.$route.params.table,
      current:1,
    };
  },
  created() {
    console.log(this.table);

    this.$axios
      .get("http://39.104.90.182:80/px/service/px/list_list.json", {
        params: {
          table: this.table,
           page: this.current
        }
      })
      .then(res => {
        this.current++;
        console.log(res);
        this.tjlist = res.data;
      });
  }
};
</script>

<style>

</style>
